/* const { createApp } = Vue
 */


//vue 3
/* Vue.createApp({
    data() {
        return {
            student  :
            [
                {
                    studentID: 1,
                    studentname: "张三",
                    garde: 90,
                },
                {
                    studentID: 2,
                    studentname: "李四",
                    garde: 78,
                },
                {
                    studentID: 3,
                    studentname: "王五",
                    garde: 90,
                },
                {
                    studentID: 4,
                    studentname: "赵六",
                    garde: 90,
                },
                {
                    studentID: 5,
                    studentname: "张一一",
                    garde: 90,
                },
                {
                    studentID: 6,
                    studentname: "刘七",
                    garde: 90,
                },
                {
                    studentID: 7,
                    studentname: "洋洋",
                    garde: 90,
                },
                {
                    studentID: 8,
                    studentname: "钱八",
                    garde: 90,
                },
                {
                    studentID: 9,
                    studentname: "丁八",
                    garde: 90,
                },
                {
                    studentID: 10,
                    studentname: "张妮妮",
                    garde: 90,
                }
            ]
        }
    }
}).mount('#app')
 */

//vue 2
const vm = new Vue({
   el: '#app',
   data: {
       student:

           [
               {
                   studentID: 1,
                   studentname: "张三",
                   garde: 90,
               },
               {
                   studentID: 2,
                   studentname: "李四",
                   garde: 78,
               },
               {
                   studentID: 3,
                   studentname: "王五",
                   garde: 90,
               },
               {
                   studentID: 4,
                   studentname: "赵六",
                   garde: 90,
               },
               {
                   studentID: 5,
                   studentname: "张一一",
                   garde: 90,
               },
               {
                   studentID: 6,
                   studentname: "刘七",
                   garde: 90,
               },
               {
                   studentID: 7,
                   studentname: "洋洋",
                   garde: 90,
               },
               {
                   studentID: 8,
                   studentname: "钱八",
                   garde: 90,
               },
               {
                   studentID: 9,
                   studentname: "丁八",
                   garde: 90,
               },
               {
                   studentID: 10,
                   studentname: "张妮妮",
                   garde: 90,
               }
           ]
   }
});

